#include <cstdlib>
#include <string>
#include <iostream>

#include "Calculator.h"

using namespace std;

int main(int argc, char** argv) {
    string input("");
    cin >> input;

    Calculator c(input);
    cout << "Result: " << c.calculate() << endl;
    return 0;
}
